﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace Logistics.Model
{
    /// <summary>
    /// 转正管理
    /// </summary>
    public class Become 
    {
        public int Id { get; set; }
       
        /// <summary>
        /// 姓名
        /// </summary>
        public int Xid { get; set; }
        /// <summary>
        /// 部门
        /// </summary>
        public int Did { get; set; }
        /// <summary>
        /// 职位
        /// </summary>
        public int Tid { get; set; }
        /// <summary>
        /// 上级负责人
        /// </summary>
        public int Uid { get; set; }
        /// <summary>
        /// 入职日期
        /// </summary>
        public DateTime Bdate { get; set; }

        /// <summary>
        /// 申请时间
        /// </summary>
        public DateTime Bdatetime { get; set; }
        /// <summary>
        /// 审批状态
        /// </summary>
        public int Bzt { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime Bdatess { get; set; }= DateTime.Now;

        /// <summary>
        /// 试用期工作总结
        /// </summary>
        public string Bsum { get; set; }
        /// <summary>
        /// 对公司的意见和建议
        /// </summary>
        public string Bopinion { get; set; }

        /// <summary>
        /// 员工姓名
        /// </summary>
        [NotMapped]
        public string SaffName { get; set; }

        /// <summary>
        /// 部门
        /// </summary>
        [NotMapped]
        public string DepName { get; set; }

        /// <summary>
        /// 职位
        /// </summary>
        [NotMapped]
        public string PostName { get; set; }

        /// <summary>
        /// 上级负责人
        /// </summary>
        [NotMapped]
        public string UpName { get; set; }
    }
}
